#ifndef _WX_POWER_H_
#define _WX_POWER_H_

#include "wx/event.h"

enum wxPowerType {
  wxPOWER_SOCKET,
  wxPOWER_BATTERY,
  wxPOWER_UNKNOWN
};

enum wxBatteryState {
  wxBATTERY_NORMAL_STATE,    // system is fully usable
  wxBATTERY_LOW_STATE,       // start to worry
  wxBATTERY_CRITICAL_STATE,  // save quickly
  wxBATTERY_SHUTDOWN_STATE,  // too late
  wxBATTERY_UNKNOWN_STATE
};


#undef wxHAS_POWER_EVENTS

wxPowerType wxGetPowerType();
wxBatteryState wxGetBatteryState();

#endif
